﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace hello_accinv
{
    public partial class ViewLog : Form
    {
        private Database db;
        public ViewLog()
        {
            InitializeComponent();
            db = new Database();
        }

        private void ViewLog_Load(object sender, EventArgs e)
        {
            dgViewLog.DataSource =
                db.Select("*", "ActionLog", "1");
            dgViewLog.ClearSelection();
        }
    }
}
